<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/user/usergroupmanage" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.userGroupManage}</h1>
    </div>
    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="width: 10px;">
                <input type="checkbox" class="toggle-all" />
              </th>
              <th style="width:15px">{$Think.lang.ID}</th>
              <th style="">{$Think.lang.name}</th>
              <th style="">{$Think.lang.status}</th>
              <th style="">{$Think.lang.ctime}</th>
              <th style="">{$Think.lang.operating}</th>
            </tr>
          </thead>
          <tbody>
            <volist name="list" id="vo">
              <tr data-id="{$vo['id']}" style="text-align: left;">
                <td>
                  <input type="checkbox" class="toggle" />
                </td>
                <td>{$vo['id']}</td>
                <td>{$vo['name']}</td>
                <td>
                  <eq name="vo.status" value="1">
                    <img src="__PUBLIC__/admin/images/ok.gif" />
                    <else />
                    <img src="__PUBLIC__/admin/images/error.gif" />
                  </eq>
                </td>
                <td>{$vo['create_time'] | date="Y-m-d H:i:s",###}</td>
                <td><a href="javascript:;" onclick="javascript:window.location.href='{:URL('admin/User/addUserGroupManage','id='.$vo['id'].'')}'">{$Think.lang.editor}</a>
                  | <a href="javascript:;" class="A_del">{$Think.lang.delete}</a>
                  | <a href="javascript:;" onclick="javascript:window.location.href='{:URL('admin/User/allocation','id='.$vo['id'].'')}'">{$Think.lang.allocation}</a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
      <div class="actions">
        <a href="{:URL('admin/User/addUserGroupManage')}" class="btn">{$Think.lang.addUserManageGroup}</a>
        <a href="#" class="btn" id="J_del">{$Think.lang.delUserManageGroup}</a>
      </div>
    </div>
</body>

</html>
